package com.fla.aiba.entity.user;

import com.fla.aiba.entity.Entitys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * 用户个人档案
 */
@Entity
@Table(name = "t_user_profile")
public class UserProfile extends Entitys implements Serializable {
	private static final long serialVersionUID = 1L;
		 @Id
		 private String  id ;
		 /**
		   贯籍
		 **/
		 private String  birthplace ;

		 /**
		 	民族
		 **/
		 private String  nation ;

		 /**
		 	星座
		 **/
		 private String  constellation ;
		 /**
		 	体型
		 **/
		 private Integer  shape ;
		 /**
		 	体重
		 **/
		 private String  bw ;
		/**
		 * 身高
		 */
		private  int height;
		 /**
		 	兴趣爱好
		 **/
		 private String  hobby ;
		/**
		 * 是否吸烟
		 */
		private  String smoking;
		/**
		 * 是否喝酒
		 */
		private  String drink;
		/**
		 相何时结婚
		 **/
		private String  marry ;
		/**
		 是否想要孩子 (0不限 1想要孩子 2不想要孩子 3视情况而定)
		 **/
		private Integer  wantChild ;
		/**
		 * 职业
		 */
		private String occupation;
		/**
		 婚烟状总(0未婚 1离异 2丧偶 3已婚)
		 **/
		private Integer  maritalStatus ;
		/**
		 * 工作地点
		 */
		private String workAddress;

		/**
		 * 月收入
		 */
		private String income;
		/**
		 学历:1 初中 2.中专 3.高中 4.大专  5.本科 6.硕士 7.博士 8博士后
		 **/
		private Integer  education ;
		/**
		 有无子女(0.没有 1.有，和我住一起 2.有，有时和我住一起 3有，不和我住一起)
		 **/
		private Integer  children ;
		/**
		 购车情况(0.未购车 1已购车 3.单位用车 4需要时购置)
		 **/
		private Integer  car ;
		/**
		 购房情况(0以后再告诉你  1.与父母同住 2租房 3已购房(有货款) 4已购房(无货款) 5住单位房 6住亲朋家 4需要时购置)
		 **/
		private Integer  house ;
		 /**
		 	创建时间
		 **/
		 @Column(updatable = false,nullable = false)
		 private Date  createTime=new Date() ;
		 /**
		 	更新时间
		 **/
		 @Column(insertable = false)
		 private Date  lastModifyTime=new Date() ;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBirthplace() {
		return birthplace;
	}

	public void setBirthplace(String birthplace) {
		this.birthplace = birthplace;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getConstellation() {
		return constellation;
	}

	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}

	public Integer getShape() {
		return shape;
	}

	public void setShape(Integer shape) {
		this.shape = shape;
	}

	public String getBw() {
		return bw;
	}

	public void setBw(String bw) {
		this.bw = bw;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getSmoking() {
		return smoking;
	}

	public void setSmoking(String smoking) {
		this.smoking = smoking;
	}

	public String getDrink() {
		return drink;
	}

	public void setDrink(String drink) {
		this.drink = drink;
	}

	public String getMarry() {
		return marry;
	}

	public void setMarry(String marry) {
		this.marry = marry;
	}

	public Integer getWantChild() {
		return wantChild;
	}

	public void setWantChild(Integer wantChild) {
		this.wantChild = wantChild;
	}

	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}

	public Integer getMaritalStatus() {
		return maritalStatus;
	}

	public void setMaritalStatus(Integer maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getWorkAddress() {
		return workAddress;
	}

	public void setWorkAddress(String workAddress) {
		this.workAddress = workAddress;
	}

	public String getIncome() {
		return income;
	}

	public void setIncome(String income) {
		this.income = income;
	}

	public Integer getEducation() {
		return education;
	}

	public void setEducation(Integer education) {
		this.education = education;
	}

	public Integer getChildren() {
		return children;
	}

	public void setChildren(Integer children) {
		this.children = children;
	}

	public Integer getCar() {
		return car;
	}

	public void setCar(Integer car) {
		this.car = car;
	}

	public Integer getHouse() {
		return house;
	}

	public void setHouse(Integer house) {
		this.house = house;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}
}